I'm getting an error... And I have no idea how to fix it. I've never
been able to get PHP to work.
---
Warning: Unknown(/var/www/test.php): failed to open stream: Permission
denied in Unknown on line 0
Warning: (null)(): Failed opening '/var/www/test.php' for inclusion
Andy do a small page with only this in it and see if it will load.
?php
phpinfo();
?
That churned out a rather long page with all sorts of information... so
now I'm assuming that PHP is parsing correctly, but I have some sort of
configuration error? What that would be, I'm unsure...
-Andy
--
Can we see some of the code throwing the error? PHP is working correctly
if you got the page above (a handy thing to keep around BTW).
I assumed it was a configuration error because the error occured on line
0. But in any case, here's some lowdown.
main.php - the file everyone will be seeing,
Thanks to this newsgroup I finally overcame one of my biggest errors in
PHP. But it still doesn't work completely. :)
---
Fatal error: Call to undefined function: pg_connect() in
/var/www/include/db.php on line 30
---
Undefined function? Isn't it a standard command?
- Andy Moore
--
PHP General
httpd got access to all the files?
Ah! I fixed it now. Ok, this problem is solved, thanks all :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or something? I don't know where library files
are stored...
- Andy Moore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo