Home > Apache Cannot > Apache Cannot Load Php.ini

Apache Cannot Load Php.ini

http://windows.php.net/downloads/releases/archives/php-5.4.9-Win32-VC9-x86.zip Reply BigDuy01 says: January 4, 2013 at 3:11 am That worked perfectly. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or The two files are different sizes and have differernt datestamps on. Thanks. weblink

Reply dts says: December 14, 2012 at 3:35 pm Amazingly, this now works! yes i have added the C:\php directory to my path environment variable Reply newlife007 says: February 28, 2013 at 2:56 pm What is in your mysql_connect.php for lines 8 - 10. I will assume that you used c:\php in this tutorial. Reply newlife007 says: December 12, 2012 at 6:59 pm The errors are pretty much the same and related. http://stackoverflow.com/questions/12034530/apache-is-not-loading-php-ini

Do not open the file directly on the hard disk — you'll only see the words you typed in earlier. Reply newlife007 says: March 26, 2012 at 10:08 pm Thanks for the comment. Thanks. Reply dougi says: February 28, 2013 at 2:33 pm if i type php -m in the command prompt the mysql and mysqli extensions are listed but i get an error message

PHP 5.4.10 and higher Download PHP 5.4 VC9 x86 Thread Safe from http://windows.php.net/download/ . I am not sure if it should go directly in the c:\ directory or in the c:\apache24 folder, or somewhere else. extension=mysql.so doest work in this situation anyway .Thats strange when i check other system which had php4.4.8 and mysql 5.0.27 installed its work fine then it doesnt enabled the extension=mysql.so on what operating system are your running?

Reply Donncha says: January 3, 2007 at 7:06 pm Well, there is that, but if you're using a modern version of Linux then all you'll have to do is apt-get install Not the answer you're looking for? The key is to make sure the path is defined in the httpd.conf file, you have the correct version of the dll to match the PHP version and also to uncomment For Apache 2.2.x, you can find the AddType lines in the section.

Options FollowSymLinks Includes ExecCGI MultiViews this solved away my problems Back to top TheMagicianJoined: 18 Feb 2014Posts: 1Location: U.S.A., Georgia Posted: Wed 19 Feb '14 9:00 Post subject: Error message when ahead of time. Please link to us. It could be anywhere but if you create a small php file with the phpinfo(); command it will tell you where it is.

Rename directory to phpmyadmin. What do you get in a command window when navigate to you apache bin folder and type: >httpd -t Back to top bizcomJoined: 15 Mar 2013Posts: 2Location: Raleigh, NC Posted: Fri Even with the setting of "Off", you can still use the addslashes() function in PHP to add the slashes for the specific pieces of data that need them. Can someone can send me the file please at [email protected]

I set the environment variables just before I saw your reply. have a peek at these guys Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start OR service httpd restart Following the steps above you will have a running Apache2 web server with support for I try to revise it when they make changes. Note: The Apache web server changes the directory to root at startup, causing PHP to attempt to read php.ini from the root filesystem if it exists.

Using environment variables can

For the CGI and CLI versions, it happens on every invocation. php.ini is searched for in these locations (in order): SAPI module specific location (PHPIniDir directive in Apache 2, -c command line option in CGI and CLI, php_ini parameter in NSAPI, PHP_INI_PATH Is it possible to write division equation in more rows? check over here Please help.

I don't know what I'm doing wrong, someone can help me please??? Example #2 php.ini example ; any text on a line after an unquoted semicolon (;) is ignored [php] ; section markers (text within square brackets) are also ignored ; Boolean values I successfully loaded MySQL, Apache and PHP.

Find Directory index and add index.php DirectoryIndex index.html index.php Next we need to input a value  for ServerName variable.

Looks like there is a problem with php dll, because if you read the error message more carefully it tells that "the specified module could not be found" (not the file Remember how hard it's been for you the very first time. How to harness Jupiter's gravitational energy? In PHP 5.2.0 and later, the scan directory can then be overridden at run time by setting the PHP_INI_SCAN_DIR environment variable.

You can refer to it online or download the entire set of HTML files for reference offline. According to bizcom's experience, the problem is not that the procedure could not be found, but that it's incompatible. Reply Squishy says: March 31, 2012 at 9:43 am Heck of a job there, it abostulely helps me out. this content Reply skbz says: June 1, 2007 at 2:30 pm Ola, thanks for this thread.

also, make sure you REALLY completely restarted apache. –glasz Aug 20 '12 at 13:43 add a comment| up vote 1 down vote based on my experience, you may need to make That way, each web site can have its own php.ini instead of having to use the server's default one. I do! The second is to configure it to run the interpreter as a CGI binary.

Steffen Apache Lounge is not sponsored by anyone.Your donations will help to keep this site alive and well, and continuing the building of the binaries.