introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

ez php install



Posted by: samj
May 31, 2010 05:33AM
Hello,
just installed easyphp the second time on my vista laptop.
Objective: to duplicate an off-line website and to integrate a shopping cart before going live - will have to install cart software on server in www. ... .com/shop/.

So far I have managed to output hello world in php in a browser; apache listens on localhost:8080 and finds the file in my development area instead of easyphp/www/.

In both installs I could not connect with mysql. I used a php script from the web to get output in a browser to verify a connection and output.

In my first install (I could be wrong) error 5 came up, a problem with the federated plug-in as well.

Last mysql error log from second install:
100530 20:02:53 [Note] Plugin 'FEDERATED' is disabled.
100530 20:02:53 InnoDB: Started; log sequence number 0 44233
100530 20:02:53 [Note] Event Scheduler: Loaded 0 events
100530 20:02:53 [Note] C:\PROGRA~2\EasyPHP\MySql\bin\mysqld.exe: ready for connections.
Version: '5.1.45-community-log' socket: '' port: 3306 MySQL Community Server (GPL)

There are also numerous php errors and warnings in ../home/index.php:
--above the blue bar on top--
Warning: syntax error, unexpected '(' in ../easyphp.ini on line 14 in C:\Program Files (x86)\EasyPHP\home\i18n.inc.php on line 4

Warning: include(i18n/.php) [function.include]: failed to open stream: No such file or directory in C:\Program Files (x86)\EasyPHP\home\i18n.inc.php on line 21

Warning: include() [function.include]: Failed opening 'i18n/.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files (x86)\EasyPHP\home\i18n.inc.php on line 21

--below the blue bar--

Notice: Undefined variable: help in C:\Program Files (x86)\EasyPHP\home\header.inc.php on line 6

www.easyphp.org

Notice: Undefined variable: website in C:\Program Files (x86)\EasyPHP\home\index.php on line 91

Notice: Undefined variable: donate_title in C:\Program Files (x86)\EasyPHP\home\index.php on line 95



Notice: Undefined variable: info_title in C:\Program Files (x86)\EasyPHP\home\index.php on line 111


Notice: Undefined variable: info_text in C:\Program Files (x86)\EasyPHP\home\index.php on line 112


Notice: Undefined variable: info_usb in C:\Program Files (x86)\EasyPHP\home\index.php on line 116






Notice: Undefined variable: mysql_manage in C:\Program Files (x86)\EasyPHP\home\index.php on line 150

Notice: Undefined variable: mysql_parameters in C:\Program Files (x86)\EasyPHP\home\index.php on line 151

Notice: Undefined variable: php_info in C:\Program Files (x86)\EasyPHP\home\index.php on line 152

Notice: Undefined variable: php_timezone in C:\Program Files (x86)\EasyPHP\home\index.php on line 153

Notice: Undefined variable: php_extensions in C:\Program Files (x86)\EasyPHP\home\index.php on line 154




Notice: Undefined variable: localweb in C:\Program Files (x86)\EasyPHP\home\index.php on line 252
C:\Users\me\Desktop\WebDev\CLIENTS\Root
website_a
website_b



Notice: Undefined variable: alias_title in C:\Program Files (x86)\EasyPHP\home\index.php on line 268

Notice: Undefined variable: alias_add in C:\Program Files (x86)\EasyPHP\home\index.php on line 269



Notice: Undefined variable: download in C:\Program Files (x86)\EasyPHP\home\index.php on line 382


ANY ideas, thanks samj
Options: ReplyQuote
Posted by: samj
May 31, 2010 11:07PM
... the "5 min install" saga continues...

I reinstalled and moved EasyPhp from ProgramFiles/ to C:/EasyPhp/ which eliminated most of my above mention err messages;( --> a new day, different problem.)
When I type [......] in my browser, it displays the correct output. This file resides in C:/users/sam/Desktop/clients, NOT C:/EasyPhp/www/.
[I managed to redirect the document folder for apache from ...../www/ to C:/users/sam/Desktop/clients/ , and I changed the port to 8080]
When I enter [localhost] in the address bar, I get a 403 error, which deals with file access permissions denied. [The given path was above the root path: Cannot map GET /C:/EasyPHP/phpmyadmin/setup/config.php HTTP/1.1 to file"]

some clarification please: As far as I understand, there are 3 apps (Apache, MySql and the Php module in Apache as a scripting language add-on) + myphpadministration, a fourth app.
Does each app. require/have it's own UN,PW, and Admin email?
Does Each app. have it's own file permission settings (r-w-x)?
What are and where are the config files that need to be changed for UN,PW,Admin email and for the file path redirects/changes for all apps.? (I do not seem to find htaccess and php.ini, however there are several config.php/ini files in different folders. To my limited understanding, I can change the .php files either with myphpadministration or directly in the file itself with an editor. These .php files then change the .ini files; but I can also edit the ini files directly?)
I am not quite clear on this issue as one can see...

thanks for your help, samj



Summary of SHOULD NOT's: Should not have installed in Program Files -- above error messages mostly disappeared. (I also tried meddling with Win file permissions, but they did not seem to stick/work/change anything.)
Options: ReplyQuote
Posted by: samj
May 31, 2010 11:21PM
something got messed up in my previous message - post didn't like my url

Should read:
When I type **tp://local*ost:8080/hello.ph* in my browser, it displays the correct output. This file resides in C:/users/sam/Desktop/clients, NOT C:/EasyPhp/www/.
[I managed to redirect the document folder for apache from ...../www/ to C:/users/sam/Desktop/clients/ , and I changed the port to 8080]

When I enter **tp://local*ost:8080/C:/EasyPhp/dir/dir/somefile.php in the address bar, I get a 403 error, which deals with file access permissions denied. [The given path was above the root path: Cannot map GET /C:/EasyPHP/phpmyadmin/setup/config.php HTTP/1.1 to file"]
Options: ReplyQuote
June 18, 2010 05:39PM
Hey Buddy,

It is much easier if you just download the XAMPP package. Try this one below http : // www . apachefriends. org / en / xampp .html.

Regards,
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.