Solved

Solaris 10 webstack is not recognising php path

Posted on 2009-07-11
3
379 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
spacing 5 31
html input clean up 3 32
php documentation 4 21
Help cleaning out CSS 2 31
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). #…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now