Re: [PHP] PHP setup
Louie Henry schreef: Good Day All I am running windows xp pro and using built in IIS as my web-server. And I installed PHP 5.2.5. I also installed MySQL 5.0.37. Now PHP is working, how ever I having problems with the configuration with MySQL. I used phpinfo(), and I notice this doc_root no value no value extension_dir C:\php5 C:\php5 the output of phpinfo() also tells you where pp is loading in php.ini from (or trying to load it in). my guess is the php.ini your editing is not located where php is looking for it. I did edit my php.ini file: include_path =C:\PHP;C:\PHP\ext doc_root =C:\Inetpub\wwwroot extension_dir =C:\PHP\ext And windows systems paths I have C:\PHP; and it shows up in the path command. I do not understand why it’s not using the php.ini file or what I am doing wrong. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.21/1263 - Release Date: 06/02/2008 8:14 PM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP setup
To solve this problem, I will advice you to probably remove all the former installation. Because PHP do have problem relating to IIS several times. so it better you install complete pack of PHP Application. You can use a PHP Application call WAMP SERVER. It's good PHP Application for deploying. WAMP means WINDOWS(os) - APACHE(webserver) - MYSQL(db) - PHP(platform). With this, I think you should be okie because there won't be any need to start a new configuration in PHP.INI file. You can get WAMP Server from: http://www.wampserver.com/en/download.php Regards. Williams - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Re: [PHP] PHP setup
On Thu, 2008-02-07 at 09:52 -0500, Nathan Nobbe wrote: On Feb 7, 2008 8:47 AM, Dare Williams [EMAIL PROTECTED] wrote: WAMP means WINDOWS(os) - APACHE(webserver) - MYSQL(db) - PHP(platform). you know if youre running iis and mysql or mssql, its actually called the WIMP stack ;) Such an apt name :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP setup
On Feb 7, 2008 8:47 AM, Dare Williams [EMAIL PROTECTED] wrote: WAMP means WINDOWS(os) - APACHE(webserver) - MYSQL(db) - PHP(platform). you know if youre running iis and mysql or mssql, its actually called the WIMP stack ;) -nathan
Re: [PHP] PHP setup
2008/2/7 Louie Henry [EMAIL PROTECTED]: Good Day All What's up, Louie? I am running windows xp pro and using built in IIS as my web-server. And I installed PHP 5.2.5. I also installed MySQL 5.0.37. Now PHP is working, how ever I having problems with the configuration with MySQL. [snip!] I do not understand why it's not using the php.ini file or what I am doing wrong. From your explanation of the steps you took, it sounds to me like you forgot to restart your HTTP server (in this case, IIS). Restart that and all should work as planned. Changes to configuration files (such as php.ini) are read in to the servers (daemons) when they are executed, and can't be changed dynamically. The same goes for MySQL, Apache, SSH, et cetera. -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php Setup Question
Christopher Taylor wrote: I am trying to setup a webserver for testing at home. I can execute php scripts fine, but I cannot include local files like include (test.php). The page comes up with a permission denied. The url is http://mojo.hst-percussion.com/index.php. The phpinfo is http://mojo.hst-percussion.com/test.php. Can someone point me a direction to look? Thanks. Chris Taylor Hi Chris, What permissions are on the other files ? Are they set to '644' or something else? -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php setup
Turn on register_globals in your php.ini file. On Mon, 16 Dec 2002, Edward Peloke wrote: I recently got a laptop and was in the process this weekend of installing, php, apache, mysql etc. One thing I noticed is when I ran the code (that works fine everywhere else) on the laptop, I got errors of 'Variable not defined' and I have pictures that just won't show. I am not sure if this is the problem but most of the scripts giving the 'Variable not defined problem and the images where in other folders and referenced in the php page like /images/picture.gif and /includes/template1.inc. Is there something I need to look at in my config file? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php setup
it is turned on -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 2:03 PM To: Edward Peloke Cc: php Subject: Re: [PHP] php setup Turn on register_globals in your php.ini file. On Mon, 16 Dec 2002, Edward Peloke wrote: I recently got a laptop and was in the process this weekend of installing, php, apache, mysql etc. One thing I noticed is when I ran the code (that works fine everywhere else) on the laptop, I got errors of 'Variable not defined' and I have pictures that just won't show. I am not sure if this is the problem but most of the scripts giving the 'Variable not defined problem and the images where in other folders and referenced in the php page like /images/picture.gif and /includes/template1.inc. Is there something I need to look at in my config file? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php setup
You have the error_reporting set at E_ALL in the ini file. Set it to E_ALL ~E_NOTICE - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Monday, December 16, 2002 1:29 PM Subject: [PHP] php setup I recently got a laptop and was in the process this weekend of installing, php, apache, mysql etc. One thing I noticed is when I ran the code (that works fine everywhere else) on the laptop, I got errors of 'Variable not defined' and I have pictures that just won't show. I am not sure if this is the problem but most of the scripts giving the 'Variable not defined problem and the images where in other folders and referenced in the php page like /images/picture.gif and /includes/template1.inc. Is there something I need to look at in my config file? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php setup
thanks, I will give that a shot. -Original Message- From: Joseph W. Goff [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 2:25 PM To: php-general; Edward Peloke Subject: Re: [PHP] php setup You have the error_reporting set at E_ALL in the ini file. Set it to E_ALL ~E_NOTICE - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Monday, December 16, 2002 1:29 PM Subject: [PHP] php setup I recently got a laptop and was in the process this weekend of installing, php, apache, mysql etc. One thing I noticed is when I ran the code (that works fine everywhere else) on the laptop, I got errors of 'Variable not defined' and I have pictures that just won't show. I am not sure if this is the problem but most of the scripts giving the 'Variable not defined problem and the images where in other folders and referenced in the php page like /images/picture.gif and /includes/template1.inc. Is there something I need to look at in my config file? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php setup
Check phpinfo() on both the new and old server -- i think the var not defined stuff is related to a different (higher) error reporting directive on the laptop. As for the images, view the actual SOURCE of the resultant HTML page (browser view source) and see how the image src's are being written, then check for the files directly -- my guess is you're dynamically writing the image URLs, and something is breaking (possibly needs register globals ON in php.ini). on 17/12/02 6:29 AM, Edward Peloke ([EMAIL PROTECTED]) wrote: I recently got a laptop and was in the process this weekend of installing, php, apache, mysql etc. One thing I noticed is when I ran the code (that works fine everywhere else) on the laptop, I got errors of 'Variable not defined' and I have pictures that just won't show. I am not sure if this is the problem but most of the scripts giving the 'Variable not defined problem and the images where in other folders and referenced in the php page like /images/picture.gif and /includes/template1.inc. Is there something I need to look at in my config file? Thanks, Eddie Justin French http://Indent.com.au Web Development Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php