homepage Welcome to WebmasterWorld Guest from 54.211.201.65
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
New php installation what is wrong
no activity from php
neiljones




msg:3029913
 11:09 am on Aug 1, 2006 (gmt 0)

I am working with a new server.
The simple program
<?
phpinfo();
?>
fails to produce any output. Adding HTML to it results in the HTML working but not the PHP.

typing
php index.php
on the server gives.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imap.so' - libc-client.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
<?
phpinfo();

Can anyone tell me what is wrong and how to fix it?

 

coopster




msg:3029941
 11:42 am on Aug 1, 2006 (gmt 0)

It may be that short_open_tag is off, but it doesn't seem so. Try using full tags
<?php 
phpinfo();
?>

in your file to double-check anyway. If that still doesn't parse the file, then your installation is botched. I would reinstall and don't forget to include the libraries that you are attempting to use if they aren't installed on your system yet.

neiljones




msg:3029999
 12:38 pm on Aug 1, 2006 (gmt 0)

Thanks that is it. I had thought the installation was screwed.
I didn't realise you could turn this syntax off and on.
I checked the php.ini file too. It seems strange to me and I can imagine real problems with third party scripts.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved