Solved

Solaris 10 webstack is not recognising php path

Posted on 2009-07-11
3
382 Views
Last Modified: 2013-12-27
hi
i am trying to deploy my php application on solaris 10 but it doesnt seem to be working the web hosting provider is setting up as virtual path

[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined index:  HTTP_HOST in /var/virtualhosts/web/include/settings.php on line 67
[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined variable: langs in /var/virtualhosts/web/include/settings.php on line 203
[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined variable: lang_id in /var/virtualhosts/web/include/settings.php on line 204
[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Fatal error:  Call to undefined function is_user_logged_in() in /var/virtualhosts/web/include/islogged.php on line 14
 
NameVirtualHost *:80
NameVirtualHost *:443
 
<VirtualHost *:80>
 ServerName mydomain
 
 DocumentRoot /var/virtualhosts/web
 
 ErrorLog /var/log/httpd/mydomain.error-log
 CustomLog /var/log/httpd/mydomain.access-log combined  
 
 <Directory /var/virtualhosts/web>
  Options All
  Order Allow,Deny
  Allow from All
 </Directory>
 
</VirtualHost>

Open in new window

0
Comment
Question by:mattibutt
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
javeedabdul earned 500 total points
ID: 24833569
http://www.sun.com/software/webstack/get.jsp


Title:      Enabling additional built-in options in php5 ./configure
http://sunsolve.sun.com/search/document.do?assetkey=1-1-6623222-1

php5 in nevada needs to be compiled with inline and compiler optimizations
http://sunsolve.sun.com/search/document.do?assetkey=1-1-6630663-1

Documentation: About the Sun GlassFish
http://docs.sun.com/app/docs/doc/820-7405/gifzt?l=en&a=view&q=Sun+GlassFish+Web+Stack

This may help you
http://www.netbeans.org/kb/docs/php/webstack.html
0
 
LVL 11

Author Closing Comment

by:mattibutt
ID: 31602465
thanks buddy for your help the hosting company has helped me out it was because of php short tags were disabled but i appreciate your input on this matter
0
 
LVL 6

Expert Comment

by:javeedabdul
ID: 24839342
np

Glad i tried
Thanks
Javeed Abdul
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question