Php5 Apache Error
I just installed on a new machine windows server 2003 and installed apache 2.2 on it and then unzip the php 5.1 files in c:php5 then added the load module php5_module line in httpd conf file copied the php5ts.dll to system32 and also in apache bin but when i start apache it keeps giving me error php5apache2.dll module not found if i remove this line from apache it works fine and apache starts but if i add this line it does not start can anybody suggest how to fix the problem why cant apache find the file php5apache2.dll the path is correct.
View Complete Forum Thread with Replies
Related Forum Messages:
- Use Apache And PHP5 - How?
- PHP5 From Apache
- Apache 1.3, PHP5
- PHP5 On Apache 2
- Install PHP5, Apache 2.2 And IIS
- Installing PHP5 On APACHE 2.2.x
- Apache Hangs With PHP5
- Apache Mysql Php5
- PHP5 With MySQL 4.1 On Apache 2 On Win98
- Net-snmp + Php5 Apache Module
- Install PHP5 And Apache 2.2.2 (Linux)
- Apache 2.0 W/PHP4; W/PHP5 Cohabitate
- Apache/ Win XP Home/ PHP5/ MySQL
- Trying To Get MySQL, Apache, And Php5 To Play Nice Together
- Install Php4 And Php5 At The Same Time To Apache
- Installing Php4 And Php5 On Same Apache Server
- Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
- PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
- What Are The Pros/cons/issues For PHP4/PHP5 With Apache (either 1.3 Or 2).
- Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
- Can't See The Error (PHP5)
- XSL Error Handling In PHP5
- Php5 Compile Error
- Php5 On Apache2 Error
- PHP5 - Installation Error - 400 Bad Request
- PHP5, Domxml, On Windows Cfg./Error
- Php5 On Apache2 Error: Cannot Load C:/php/php5apache2.dll
- Apache Error?
- Apache 404 Error
- Php5 Fatal Error: Call To Undefined Function Xslt_create()
- PHP 5.0 - No Error Messages Under Apache
- Phpmyadmin Error On Apache
- Error Installing PHP 5.2 With Apache 1.3
- Error When Starting Apache
- Apache Runtime Error
- Apache Install Error
- Fatal Error: Call To Undefined Function - Upgrade From PHP4.x To PHP5.2
- Upgarding Php4 To Php5 Leads To: PHP Fatal Error: Call To Undefined Function ...
- Send Default Apache 404 Error From Php
- Php Errors Going To Apache Error Log - Can't Change
- Apache/PHP Not Giving Me Error Messages
- Query Oci_parse() Apache Error
- R_PPC_REL24 Relocation Error With Apache
- Apache Error Log Fills Up With Php Notice:
- Starting Apache 2.0.58 With PHP 5 Gives _zend_list_delete Error
- Error Reporting; 4, Apache 1.3, Windows XP
- Parsing Apache Error Log File
- How Not To Generate Warnings Within Apache Error Log
- Local Apache Server Error, But Ok When Hosted
- Error Loading Php_mysql.dll On Apache Startup
- Apache Error When Trying To Connect To Ldap Server With SSL
- Strange Apache Error Log Messages When Viewing PHP Scripts
PHP5 From Apache
This might have been covered in this forum before, but the search strings I tried didn't turn up a solution. I've been developing an application at home using PHP5 on Linux. I brought the project into work to test it on the school's internal iMac Webserver running OS 10.4 and PHP5. The CLI application is crashing with an . Code: "Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' " error message everytime it hits a class file with a private or public keyword in front of a class property or method. (I switched the load order of the class files to confirm that it was crashing over private and public. The phpinfo.php web page showed me I was running PHP Version 5.2.1; however, on a hunch, I typed php -ver at the command line and discovered I also had PHP 4.4.7 (cli) installed. I tracked down PHP5's location and was able to execute my program typing /usr/local/php5/bin/php main.php.
View Replies !
Apache 1.3, PHP5
I've looked at so many variations on what I might try to solve the failure of pspinfo() to execute when called by a simple test.php file that I'm now lost. My Apache server runs OK. I'm running under XP. I have folowed the steps given in the book 'PHP and Mysql 'but I'm clearly missing something in php.ini or httpd.conf Where does the phpinfo() function reside? Why can't I find it in my PC?
View Replies !
PHP5 On Apache 2
I have tried to install mod_PHP5 on freebsd where I had installed apache 2. It throws as error indicating mod_php5 needs apache 1.3. I am a newbie, shoudl I just run Apache 1.3 rather than trying to run the latest Apache.
View Replies !
Install PHP5, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up. I have checked the error log and I get the following; [Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.
View Replies !
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what. Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.
View Replies !
Apache Hangs With PHP5
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini file to outcomment the line "extension=php_sybase_ct.dll" (or "extension=php_pdf.dll") and restart the IIS6, the web site is not able to work with .php files properly, instead the web server seems to hang with any .php file.
View Replies !
Apache Mysql Php5
I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem. I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing.
View Replies !
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening and connecting to a MySQL DB into "hello.php" <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } printf("Host information: %s ", $mysqli->host_info); /* close connection */ $mysqli->close(); ?> For some reason when I get: Fatal error: Class 'mysqli' not found in D:Apache groupApache2htdocshello.php on line 7 I installed PHP in "d:php" and added it to my path in my autoexec.bat. in php.ini: .... extension_dir = "d:phpext" .... extension=php_mysqli.dll I read all the posts at the bottom of the pages on PHP.net website where someone says "I had a problem and I got...yada...yada and did everything each of those posts said you had to do and it still won't work. The only thing left is how PHP needs compiled with a "--with" statement or something like that but I'm using the windows binary so that shouldn't be a problem... Is there some other problem it could be besides a problem with finding a dll or ini?
View Replies !
Net-snmp + Php5 Apache Module
I've recently built a new server on which I've tried to configure and install PHP5 (I've now tried 5.0.4, 5.0.5, and 5.1.0RC1) along with Apache 1.3.33 and net-snmp 5.2.1.2. (Building PHP5 as an Apache module) Everything compiles just fine, but when I try to call any of the SNMP functions (i.e. snmpget) from a PHP script on a web page, I get the following error: Warning: snmpget() [function.snmpget]: Could not open snmp connection: Unknown host in /var/www/test.php on line 5 However, I can execute the same script (which just consists of a simple snmpget) from the CLI and it works just fine. It also works fine if I execute from Apache as a CGI. If I build the same configuration with PHP 4.4.0, everything works fine from within the Apache module. I've tried executing all of this from the CLI as the Apache user as well and it does not seem to make any difference. Has anyone else encountered this issue? Any ideas about what I could try to fix it?
View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled. I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.
View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry: LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/ktdms/php" <Directory "C:/Program Files/ktdms/knowledgeTree"> The install process for PHP5 application instructs the following insertion in httd.conf: # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?
View Replies !
Apache/ Win XP Home/ PHP5/ MySQL
I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write $link = mysql_connect("localhost", "mysql"); I get the PHP5 error message "Call to undefined function mysql_connect()" Can anyone help?
View Replies !
Trying To Get MySQL, Apache, And Php5 To Play Nice Together
I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows but having problems. I don't want to install those automatic 'all-in-one' packages because I want to know how to do it myself. I think I installed Apache correctly because when I type http://localhost in my browser I see my directory, but echo phpinfo() gets me a blank page. Can someone please point me to a resource that explains how to get php5 working? I put the doc root path in my php.ini to point to C:Program FilesApache GroupApache2htdocs and no go.. Also, am I suppose to put my public_html folder inside of htdocs in tact, or do I empty the contents of my public_html into htdocs?
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
View Replies !
Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ? 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The above statement is correct for the steps shown above. 15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start
View Replies !
PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
I have read all (ok most) of the posts relating to "Call to undefined function mysql_connect()", read the manual on PHP.net and done eveything thats ive been asked to do but cant get PHP to talk to MySQL, PHP is working fine but I dont get any mysql info when running <? phpinfo() ?> and get the "Call to undefined function mysql_connect()" when trying to connect to mysql through php in browser, please help. 1. I have added C:php; to the end of the environment variable path 2. I have edited my php.ini file to : extension_dir = "c:phpext" extension=php_mysql.dll - removed the ";" ... ive checked i only have 1 php.ini file! 3. The dll "libmysql.dll" is in the folder C:php 4. The dll "php_mysql.dll" is in the folder c:phpext
View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error: "Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id" Does anyone know what is causing this error,or what I can do to correct it?
View Replies !
Can't See The Error (PHP5)
Anyone who can decipher this error message? What is PHP trying to tell me? exception 'MysqlException' in /var/www/localhost/htdocs/phenixsp/include/DB.inc:72 Stack trace: #0 /var/www/localhost/htdocs/phenixsp/include/DB.inc(58): DB_MysqlStatement->__construct(NULL, 'SELECT * FROM u...') #1 /var/www/localhost/htdocs/phenixsp/login.php(21): DB_Mysql->prepare('SELECT * FROM u...') #2 {main} The code is: // login.php <?php // DB.inc handles all database connectivity and queries include('include/DB.inc'); include('include/Conf.inc'); // rename variables to simplify further code $user = $_GET['usr']; $pass = $_GET['pass']; // catch early error on part of the user // you can't leave either or both variable empty in the login process if(isset($user) && isset($pass)){ // do something to check credentials $dbh = new DB_Mysql('$DBUSER', '$DBPASS', '$HOST', '$DB'); $newquery = "SELECT * FROM users WHERE name = :1"; try{ $stmt = $dbh->prepare($newquery); //line 21 $stmt->execute($user); } catch (MysqlException $e) { print $e; } //DB.inc - starting on line 54 public function prepare($query){ if(!$this-dbh){ $this->connect(); } return new DB_MysqlStatement($this->dbh, $query); } } class DB_MysqlStatement { protected $result; protected $binds; public $query; public $dbh; public function __construct($dbh, $query){ $this->query = $query; $this->dbh = $dbh; if(!is_resource($dbh)){ throw new MysqlException("Not a valid database connection"); } } }
View Replies !
XSL Error Handling In PHP5
I`m need hanling XSLT errors in my script, before I`m use Sablotron, that has nice interface for it: ------------8<------------------ function ProduceXHTML($xml, $xsl){ $xh = xslt_create(); xslt_set_encoding ($xh, CODE_PAGE); $arguments = array('/_xml' => $xml, '/_xsl' => $xsl); $result = @xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); $this->error = (int)xslt_errno($xh); if($this->error){ $errorMessage = sprintf("Cannot process XSLT document [code %d]: %s", xslt_errno($xh), xslt_error($xh)); $this->AddErrorMessage(5, $errorMessage); } xslt_free($xh); } ------------8<------------------ but now I`m ported my project in PHP5 and use XSLlib like this: ------------8<------------------ function ProduceXHTML($xsltemplate){ $xh = new XSLTProcessor(); $xml = new DOMDocument(); $xsl = new DOMDocument(); $xsl->loadXML($this->LoadXSLT(TEMPLATES_ROOT.$xsltemplate)); $xml->loadXML($this->xml); $xh->importStyleSheet($xsl); $xhtml=$xh->transformToXML($xml); if($this->IsDebug()){ header('Content-type: text/xml'); die($this->xml); } if ($xhtml) { $xhtml = str_replace("&", "&", $xhtml); echo $xhtml; } else { /* commented, because PHPv5 used printf("Cannot process XSLT document [code %d]: %s", xslt_errno($xh), xslt_error($xh)); */ return false; // invalid XSL } unset($xh); } ------------8<------------------ anybody know how I can track errors now?
View Replies !
Php5 Compile Error
i used this configuration when i installed php-5.0.5 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql but when i compiled with make command the result is: Code:
View Replies !
Php5 On Apache2 Error
i installed apache 2.0.55 and it works fine. then i downloaded php5 and extracted it to c:php, renamed php.ini-recommended to php.ini, copied php5ts.dll to the windows folder and added the following lines to httpd.conf: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" now when im trying to start apache i get the following error: Syntax error on line 958 of c:/Program File/Apache Group/Apache2/conf/httpd.conf: Cannot load c:/php/php5apache2.dll into server: One of the library files needed to run this application cannot be found.
View Replies !
PHP5 - Installation Error - 400 Bad Request
I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4. I've got my php.ini all set in C:Windows. I created an index.php containing: <?php phpinfo(); ?> When I try to view the page, I get "HTTP 400 - Bad Request".
View Replies !
PHP5, Domxml, On Windows Cfg./Error
need the straight dope on domxml for Windows! Is it bundled or are DLL's necessary? Also, what changes are needed in php.ini? My setup: WXP, PHP 5.0.2 as an Apache Module, libxml v2.6.11 or so it says. I see there's been quite a bit of posting on mailing.www.php-dev Re: phpinfo() mis-reporting domxml enabled.....
View Replies !
Php5 On Apache2 Error: Cannot Load C:/php/php5apache2.dll
i reinstalled windows (98), installed apache and extracted the php5 zip file into c:php. i renamed php.ini-recommended to php.ini and added the following lines to httpd.conf: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" now when i start apache i get an error message: Syntax error on line 957 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: One of the library files needed to run this application cannot be found. when i delete the line LoadModule php5_module "c:/php/php5apache2.dll" apache works fine. i tried to copy php5ts.dll to c:windows, c:windowssystem and c:program filesapache groupapache2in, it still doesnt work...
View Replies !
Apache Error?
I am creating a logon screen which seems to work fine unless the folowing combination happens: 1) log on with a correct userid and password 2) close window, and logon again, this time with a wrong userid password. What than happens is the following popup message: APACHE caused an invalid page fault in module PHP4TS.DLL at 015f:100ddfc1. Registers: Than the browserscreen gives a message showing the SQL statement followed by NO DATABASE FOUND or something.
View Replies !
Apache 404 Error
I'm trying to set up a custom 404 handling page that emails me when it is accessed. It's kinda working, however if I have in .htaccess ErrorDocument 404 /error.php the email is sent ok, with all the variables, but the browser displays the default ie error page. If i use: ErrorDocument 404 http://www.myurl.com/error.php the email is sent, but the variables are not there, but the page is displayed in the browser correctly. Code:
View Replies !
Php5 Fatal Error: Call To Undefined Function Xslt_create()
I recently installed wampserver which packages php5, phpmyadmin and apache. All seems to work fine except when I try to use XSL functions such as xslt_create() I receive the following error: Fatal error: Call to undefined function xslt_create() I've uncommented the xsl extension : extension=php_xsl.dll phpinfo states the following : XSL enabled libxslt Version 1.1.7 libxslt compiled against libxml Version 2.6.11 EXSLT enabled libexslt Version 0.8.5 So, I believe XSL is enabled but the functionality doesn't seem to be available to me, does anyone have any idea how I can resolve this?
View Replies !
PHP 5.0 - No Error Messages Under Apache
PHP 5 beta under Apache 2 on 'doze - and get no error messages from my PHP scripts. Whenever there's an error they simply silently stop outputting. Running earlier versions under Linux works fine. Version details: Apache/2.0.47 (Win32) PHP/5.0.0b1 <-- note the beta s/w. Is this a known problem? Is there a work-around?
View Replies !
Phpmyadmin Error On Apache
i just replaced ms pws with apache 1.3.20, i am on win98. whenever i try to browse the contents of a mysql table on phpmyadmin, i get an illegal operation error with this message: - PHP caused an invalid page fault in module PHP4TS.DLL. does some one have a solution to this problem - other than changing win98.
View Replies !
Error Installing PHP 5.2 With Apache 1.3
I'm a big newbie with all this, and I'm trying to install PHP 5.2 under Apache 1.3, my OS is Win XP. I first installed Apache and it is working fine. Please go through the following steps / file fragments and tell me where I'm going wrong in installing PHP. 1- I unzipped the PHP files to C:/Programming/PHP, and also copied the dll's to the system32 directory. 2- I copied the php.ini-dist file to the windows directory (renamed as php.ini) and added the following to it - doc_root = "C:/Programming/Apache Group/Apache/htdocs" extension_dir = "C:/Programming/PHP/ext" Also I turned on extensions for various things. 3- Then I added the following lines to the httpd.conf file - LoadModule php5_module "C:/Programming/PHP/php5apache.dll" Addmodule mod_php5.c AddType application/x-httpd-php .php Then when I made a test.php in the Apache htdocs directory, it gives me the option of downloading the file (that means it is finding the file, I guess. It doesn't know what to do with it.)
View Replies !
Error When Starting Apache
I have an error when starting apache under win xp like this: cannot load c:/php/sapi/php4apache.dll into server: the specified module could not be found the fact is I have c:/php/sapi/php4apache.dll module exist.
View Replies !
Apache Runtime Error
On restarting Apache 2.2 I get this error... "Syntax Error on line 118 of C:/Program Files/Apache/Apache2.2/conf/httpd.conf: Invalid LoadModule Path x93c:/php/sapi/php4apache2.dllx94" Why is this?? Only changes I made to my httpd.conf file are adding below... LoadModule php4_module “c:/php/sapi/php4apache2.dll� AddType application/x-httpd-php .php Code:
View Replies !
Apache Install Error
Just downloaded apache 2.o and it wont run. The error I keep gettin is "DocumentRoot not a directory" I downloaded it as was told so not sure wat the problem is. It's probably something really easy.
View Replies !
Send Default Apache 404 Error From Php
How can I trigger the default Apache 404 error from PHP? I don't want to specify a custom handler, I want the default handler. The reason is that I am using mod_rewrite with Apache for my site. If certain a certain page is requested that is not published, then I want to send the apache default 404 error page. Currently, I am doing this to return a custom error. if($pageNotPublished) { header("HTTP/1.1 404 Not Found"); // How do I send the default apache 404 message // instead of the message below? print("<html><body>HTTP 404 - Not Found</body></html>"); exit(); } The default 404 error page has more details,
View Replies !
Php Errors Going To Apache Error Log - Can't Change
I've got a problem with a bunch of "PHP Warning" and "PHP Notice" messages being dumped into my apache error log, on a FC4 server. I tried editing the /etc/php.ini file, changing the "error_log =" to it's own file, and even tried turning off logging all together. No luck. No matter what I do, these messages still end up my apache log.
View Replies !
Apache/PHP Not Giving Me Error Messages
I have just recently installed Apache2 and PHP5 on my computer. Normally when I make a syntax mistake on my webspace it gives me an error message on the .php page when i load it and the line the error is on. When i load a page on my own computer through http://localhost it just stops outputing the code on the page where the error is and leaves the rest blank. Do i need to configure Apache or PHP to display errors? If so, how?
View Replies !
Query Oci_parse() Apache Error
I get this error, apparently because of my Query: Apache.exe has encountered a problem and needs to close. We are sorry for the inconvenience. the error in on oci_parse() , but when I replace the above query with for example "select * from clients"; I don't get the error. Though I need to use query I put in variable $query.... All my other variables are ok, and the query works when I use it in SQL worksheet for instance. (I use oracle 9i, php5, apche 1.3) what can I do with that query to make it work? $req_id = $_GET['request_id']; print "request id : $req_id <br>"; $req_name = $_POST['request_name']; print "request_name -> $req_name <br>"; $req_date = $_POST['request_date']; print "request_date -> $req_date <br>"; $req_client_id = $_POST['request_client_name']; print "request_client_name -> $req_client_id <br>"; $req_req_type_id = $_POST['request_type']; print "request_type -> $req_req_type_id <br>"; $req_brand_id = $_POST['request_brand_name']; if ($req_brand_id=='Brand Name') $req_brand_id='NULL'
View Replies !
R_PPC_REL24 Relocation Error With Apache
I've been scanning groups and Googling and can't figure out why I'm getting this error. I've read about using the -fPIC flag but I've been doing that. Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: R_PPC_REL24 relocation at 0x0e56191c for symbol `floor' out of range Lots of people post about this problem but I can't find solutions. The symbol out of range changes, but the problem is always this R_PPC_REL24 relocation.
View Replies !
Apache Error Log Fills Up With Php Notice:
apache error log: /var/log/httpd-error.log gets filled up with various notices such as: php notice: Use of undefined constant name - assumed 'name' in xxxxx on line 1, referer: yyyy the size of the file is 200 mb now.. how do I suppress these notices without touching my php source code ?
View Replies !
Starting Apache 2.0.58 With PHP 5 Gives _zend_list_delete Error
I want to set up my own web server, so I first of all compiled Apache 2.0.58 (I've read that Apache 2.2.2 doesn't work with PHP 5). I managed to compile it and get it to display some webpages. But of course no webserver is complete without PHP, so I proceeded to compiling PHP 5. I did everything exactly the way the instructions say at PHP.net, but when I try to run, I get the following error: Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: undefined symbol: _zend_list_delete Code:
View Replies !
Error Reporting; 4, Apache 1.3, Windows XP
i recently upgraded from Windows 2000 to Windows XP and now i can't seem to get error reporting to work in PHP. i don't know if i've simply forgotten how to do it, or if there's a bug associated with XP, but i absolutely cannot get PHP to display any errors in my browser. it's driving me nuts. Code:
View Replies !
Parsing Apache Error Log File
What's the easiest way to parse an apache error log file? I can read the file and split it into fields but this is inconsistent as some error messages have more fields than others. Not only that but I'm splitting on the space character messes up when there is a multiple word description. Code:
View Replies !
Local Apache Server Error, But Ok When Hosted
I have just used a script that includes the first line session_start(); On my computer where I have apache php and mysql installed I get the error: Warning: session_start(): open(/tmpsess_4e8a9cf51a21ab1c9fe26630d5446262, O_RDWR) failed: No such file or directory (2) in c:serverapachehtdocsmaindex.php on line 2 But when I upload it to my host the page works without errors. Is there a problem with my apache setup or is it a php thing?
View Replies !
Error Loading Php_mysql.dll On Apache Startup
Since yesterday, when I try and start apache, I get the following message: Warning: PHP Startup: Unable to load dynamic library 'C:Program FilesPHPextphp_mysql.dll' - the specified procedure could not be found. I am running PHP 5.0 on Apache 2 and have been for some time. I got this error when I first installed PHP5/Apache2 on this machine (a totally fresh install - HDD reformat!!) However, it went away, and I can't remember what I did to get rid of it. I originally thought it was because I had a space in the location of the dll. but I have been running it this way for a long time. I have not changed my php.ini recently, other than trying to solve this problem (not got any further than just commenting/uncommenting the line that loads that module. The module is definitely located where it is looking. I have no clue what is going on.
View Replies !
Apache Error When Trying To Connect To Ldap Server With SSL
I had an login script which is used to authenicate user on a LDAP server. The script will connect to the LDAP server with ssl. Following is the error log generated by apache when i tried to connect to the LDAP server and it failed. What cause the following issue.? [Fri Nov 25 16:31:44 2005] [notice] mod_python: Creating 4 session mutexes based on 50 max processes and 0 max threads. [Fri Nov 25 16:31:44 2005] [notice] Apache/2.0.53 (Fedora) configured -- resuming normal operations [Fri Nov 25 16:34:44 2005] [notice] caught SIGTERM, shutting down [Fri Nov 25 16:34:46 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Nov 25 16:34:47 2005] [notice] Digest: generating secret for digest authentication ... [Fri Nov 25 16:34:47 2005] [notice] Digest: done [Fri Nov 25 16:34:47 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK [Fri Nov 25 16:34:47 2005] [notice] LDAP: SSL support unavailable [Fri Nov 25 16:34:47 2005] [notice] mod_python: Creating 4 session mutexes based on 50 max processes and 0 max threads. [Fri Nov 25 16:34:47 2005] [notice] Apache/2.0.53 (Fedora) configured -- resuming normal operations
View Replies !
Strange Apache Error Log Messages When Viewing PHP Scripts
Whenever I would view any of my PHP scripts on any of a number of servers that I run, the Apache error logs on each of them would have this rather strange error: [Tue Mar 28 13:01:33 2006] [error] [client *.*.*.*] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/tools/myapp/tools, referer: http://www.myappworld.com/tools/myapp It never generates any PHP-related errors, warnings, notices, anything related to this of any kind; furthermore, all of my apps on all of my servers run with no problems whatsoever, however, multiple instances of this very same error message occurs at each page that I visit. there is no such file nor directory, of course, as "../htdocs/tools/myapp/tools", however, there is "/htdocs/tools/myapp".
View Replies !
|