Help - Php just WON't work

I followed these directions and it simply won't work. Help. Why don't you put PHP and MYSQL in the installer itself? This is why I use Apache, and I can't stand Apache, I want to use sun, but apparently there is no hope for mysql to actually worth with your server, and php can?
4.2 Configuring Web Server to use PHP as NSAPI Plug-in
To configure the Web Server to use PHP as NSAPI plug-in, perform the following steps:
Go to the web server instance's config directory.
For example (UNIX):
/sun/webserver70/https-mywebserver/config
Add the following lines to the magnus.conf file:
UNIX/Linux:
# Initialize PHP v5.x
Init fn="load-modules" shlib="libphp5.so" funcs="php5_init,php5_close,php5_execute,php5_auth_trans"
Init fn="php5_init" errorString="PHP Initialization Failed!"
Windows:
# Initialize PHP v5.x
Init fn="load-modules" shlib="php5nsapi.dll" funcs="php5_init,php5_close,php5_execute,php5_auth_trans"
Init fn="php5_init" errorString="PHP Initialization Failed!"
Edit the obj.conf file to enable the Web Server to process a PHP-based request.
Important note: If there are more than one file with the name "*obj.conf", be sure to edit the correct file. Use wadm's get-virtual-server-prop command to get the correct file name. For more information on this command, see http://docs.sun.com/app/docs/doc/819-3283/6n5h03hsu?a=view.
For example:
<web server install dir>/bin/wadm get-virtual-server-prop --user=admin --config=CONFIG --vs=VS object-file
(a) Add the following lines as the first directive of the "default" object in the obj.conf file.
<Object name="default">
Service type="magnus-internal/php" fn="php5_execute"
</Object>
(b) Modify the PathCheck directive if you want the Web Server to handle index.php as an index for document directories.
change
PathCheck fn="find-index" index-names="index.html"
to
PathCheck fn="find-index" index-names="index.html,index.php"
Add the following line to the mime.types file to register the PHP extensions with the Web Server.
type=magnus-internal/php exts=php,php3,php4,php5
(Windows only). Add the <php install directory> to the system PATH so that web server can load the required dlls. Because the web server runs as a windows service, any change in the system PATH requires a restart to take effect.
For example:
PATH=...;C:\Sun\Webserver70\plugins\php;

You might also consider simply using the pre-compiled, comes with an installer script copy of PHP from here .
Unfortunately this version of PHP is a bit dated. Hopefully Sun will update it at some point.

Similar Messages

  • HELP: instanceof just won't work !!!!

    Hi there, please help me out on this one, I just can't figure out the problem!
    I have a swing client and a Session EJB that will throw a DataNotFoundException (subclass of EJBException) if the supplied id was not found in the database:
    And as the EJBException is a RuntimeException, it will be autowrapped in RemoteException by the EJB container. Now, on the client we use RemoteException.getCause() to get this DataNotFoundException. getCause returns a Throwable (highest in hierarchy). Now, shouldn't I be able to use instanceof DataNotFoundException?? I mean, it is indeed an exception of this type! But the comparison gives FALSE! However, using (...instanceof Throwable) gives TRUE, as does comparing with Exception!
    Anyone knows why I don't get true on (re.getCause() instanceof DataNotFoundException) ??
    I'd be very pleased if someone knows the answer!!
    Best regards,
    AC
    try{
    filmEJB.insertOrder(orderVO,number);
    }catch(RemoteException re){
    if (re.getCause() instanceof DataNotFoundException)//returns false!!!
    System.out.println("CAUGHT DataNotFoundException");
    re.printStackTrace();
    //etc, etc

    Hi,
    In fact, the DataNotFoundException is a class that I did write myself, and it does subclass EJBException (because we want autorollback if thrown from EJB).
    So, still, I don't know why I cant get TRUE when doing instanceof RemoteException.getCause().
    And I can see that it really is a DataNotFoundException, because that prints out in the stacktrace ("cause:DataNotFoundException").
    Really weird isn't it.
    Regards, AC
    pd: Sum-shusSue, sorry about my answer, I know you did want to help...

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • My front Facing camera just won't work It freezes everytime

    My front Facing camera just won't work It freezes everytime

    Please tell me that it has NEVER been jailbroke.  If that's the case, here are some standard repair procedures:
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore (or it doesn't help), go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, if you have IOS-7, read this.

  • ITunes just won't work!

    Hi there,
    I've been trying to get iTunes working and it just won't! I have had an iPhone for a few months, and not sure whether this or a software update has anything to do with it? I basically use my iMac for the internet and as a glorified jukebox, but now I can't get it to open iTunes, the icon just bounces in the tray and then disappears.
    If I look at the iTunes application by clicking on the "Macintosh HD" icon, it looks like the computer thinks it's opening it though as the last time of use of the application is always when I last tried to open it (unsuccessfully). Please don't tell me to turn it off and on again as I've been at it for weeks! I've tried getting rid of iTunes and downloading it again, but that's not working. I can still see all of my songs, and have just found out that if I go into my music folder, I can preview the songs, which makes me think that there must be some form of music playing software still working on my computer!
    It's also affected iPhoto and Safari, as they are both doing the bouncy tray thing, but I think if I can fix one, I can fix them all (except I can't fix one!).
    Please help! So frustrating!

    Hi mm-
    One of the users on our network has the same problem (She's running OS 10.4). We've updated the OS (dot 11 now? whatever it is -- the newest iteration of 10.4). Here's what we've done (not necessarily in order, as we've performed some of these 'fixes' more than once):
    1) Ran Disk Utility and repaired permissions
    2) Reinstalled iTunes with a fresh download from the Apple site.
    3) Deleted the Genius list from the iTunes folder.
    4) We even ran some maintenance in Terminal -- sudo periodic daily, weekly, monthly, and update_prebindings.
    We still get the same inability to launch iTunes. If we click on the icon in the dock, it bounces once or twice and then stops. No launch, no error. No iTunes.

  • Help please - GB won't work - Midi driver conflict with Snow Leopard

    I use Snow Leopard 10.6.8 on my MacBook Pro.  Ever since I upgraded to this version GarageBand won't work.  When I try to launch it I get 3 or 4 pop up screens saying GB has detected software midi conflicts please update your midi drivers.  If I click through these and wait for 3 or 4 minutes, GB does open but it takes ages to change anything and it shows there is no Core Audio.  It also won't 'Play' an already recorded track and there is no sound for anything.   I have several plugins Including Line 6 Podfarm, and the midi drivers for Melodyne and record through an old Tascam US122 with midi. 
    One driver for the Podfarm was automatically put in an incompatibel Software folder when I upgraded.  I put this file in Trash and updated my Podfarm drivers but it's made no difference. 
    In GB Preferences it shows the Tascam US122 as my recording/playback and my midi device, but also 'no midi device detected' even though it is connected.   There are no driver updates for this old Tascam model. 
    Everything still works perfectly in Melodyne.  How can I find out which driver(s) are involved in the conflict for GB?  I have no guarantee that even if I buy a new Tascam interface, or any other brand, that GB will work, even then. 
    Is there a way to identify which driver, or drivers, are the problem?  Surely that is not beyond what a MacBook Pro can do? 

    I should have mentioned I use GarageBand 2009.  I've read other posts all over the web where people have trouble with this Tascam US122 but with the older Leopard versions.  I had no problem with ordinary Leopard 10.5.6 - it's only since I upgraded to Snow Leopard, and it's only in GB. 
    I've tried a powered hub which has helped others, but doesn't help with my problem.
    I reallly only want to know which driver/drivers are the problem. 
    Then I can work out a solution, even if it means buying a new interface.  So long as I can't identify what the problem is, I'm not prepared to buy new equipment that might make no difference at all.
    Bad luck with your electronic drums macuserrich - it's  annoying isn't it!!!!  

  • Acrobat X XI Windows 7 just won't work

    I don't know if this is the appropriate place for this question, there doesn't seem to be much of an altenrative.
    I attempted to use a trial of acrobat x pro some months back but was not able to get the product to work no matter what I tried (installing reinstalling etc etc ad nauseum)
    Acrobat 9 works fine without any issues.
    Acrobat X will not work
    Today I've tried xi pro - I thought great, maybe it has been fixed; however, I have the same kinds of issues. All the program dialogue boxes are misshapen, bits are missing and I have to resort to task manager to shut them down as they won't otherwise. There's also weird looking - big, misshapen text that has 'crossed out' lines through it - one lot mentioned security certificates.
    I'm attaching a screenshot of the kind of dialogue box I get.
    I'm using CS6 as a trial, though I've purchased the PS subscription.
    I'm using windows 7 64 bit
    I plan to purchase the full CS6 next year as a student, but theres not much point if it won't work,,,
    I'd love a solution to this.
    Thanks

    Thank you so much, I don't think I would have ever found that post - and it worked, I'm extremely grateful for your help, you've made a big difference to my day

  • IMovie '09 just won't work

    I was working on a video in iMovie '09 and it stopped responding. So I forced closed and opened back up and since then (about 2 weeks ago) it just doesn't work, and by that I mean I can click nothing, nothing is responding but when I go to force close it is still responding so I really don't know what is wrong.
    Can someone please help?

    Hi,
    Not normally my area (I followed a Link in iChat here).
    I can relate this to some issues with some cameras and iChat. Some will apply here possibly.
    iChat 2 was designed initially for a Firewire cameras that could output a DV signal.
    Obviously the External iSight was the choice but other Firewire able DV cameras - if - the output was DV could be seen by iChat.
    If the format for output ws for a TV/VCR (as in PAL or NTSC) then iChat could not "see" it.
    Later HDV Cameras are also a problem for iChat as the format size has to be in 4 X 4 ratio
    iMovie can "see" many more codecs/formats than iChat can although it doe have problem with mpeg2
    I Googled your Model number an got link to Samsung but then could not find it under CamCorders.
    Another Link provided me with the information it is a Stills camera.
    This says it records in H264 which iMovie should be able to Import.
    H264 can have Variants and you will need to know if iMovie can see this one.
    Movie Clip : H.264 (MPEG4.AVC)
    I have a Very old Analogue camera that I imported film from using a DV Converter.
    I had iMovie set at the time to use PAL for the Project format (I think it applies to the Playback)
    It is a long time since I did anything in iMovie.
    I hope this start you off on the right track.
    5:47 PM Friday; November 13, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Just won't work at all

    Last year I dropped and kicked my Ipod Mini. I went to this site and did everything it told me to do. It never worked. I really need an Ipod and I have been mad because it won't work. I plug it in to charge. Does not show up on Itunes or computer, and has the folder with . So I toggle with the hold switch and press menu and select at the same time. After several seconds the apple logo shows up and does not go away until the Ipod is dead again. *Please I really need help on this one.* Can i fix it? Do I have to buy a new on? Take it in to get it fixed? I really don't know.

    I would book an appointment for the Genius bar at the closest Apple Store. http://www.apple.com/retail/geniusbar/ . A genius can take a look a the ipod, and see if they're any thing they can do to get it working. If it is dead, they can offer you other solutions.

  • Help! - Filters Won't Work!

    Hello!
    I want to apply the photocopy filter on some of my pictures to create a mock coloring book.
    It worked great on the first photo. However, now every photo just turns out all white. I even tried going back and redoing the first photo and that won't work now! I can't figure it out. Some of the other filters are having the same problem.
    Any ideas what might be causing this?
    Thanks!!!

    Trashing the prefs will fix it, but a simpler fix for some "filters won't work" problems may just require hitting the "D" key to reset the foreground/background colors.

  • Express appears to be fine but just won't work

    I am still running 10.3.9 with my G4 ibook and until a couple days had no complaints about my airport express. The green light is on, all the bars are a go. Except, when I try to get onto the internet (using Road Runner), nothing loads. I don't even get an error page - it's almost like it doesn't know it can't get on. Like I said, everything looks fine (all systems go). I unplugged my express and was able to connect to the internet directly from the laptop so it's not a service issue. It's like it spontaneously just doesn't work. I've had the signal go out before and have reset it - this time is different because everything appears to be fine (I've unplugged it, etc, all the usual tricks). I would have expected to get an amber light or to be unable to access my wireless network (which I can do). Has this thing just died and I don't know it? Any words of advice/wisdom out there? Thanks!

    Hi campo72,
    I understand that you are having a problem with your wireless connection. Could you please tell me what operating system you running on your Mac? I suggest you follow the steps in this document for Installing the Printer Software for a Wireless Network Connection.
    I hope this help, let me know.
    Thank you,
    I worked on behalf of HP.

  • My Yahoo Toolbar is gone. I tried re-installing it several times but it just won't work.

    '''My Yahoo Toolbar has disappeared'. I tried re-installing it several times but it just won't appear in the Toolbar space. I looked in the Toolbar view and it is checked. I even tried unchecking and re-checking the Yahoo Toolbar view. No luck. Please help. I use that toolbar constantly.''

    Could be. They're in the midst of updating their servers at the moment so expect the odd mishap now and again.
    Oh, and could you click the "Solved" button so that it takes this thread out of the loop?
    Thanks.

  • Please help!  Ipod won't work with my itunes after plugged into MAC

    Hi, I am brand new to my ipod and i plugged it into my PC to get it started, then i plugged it into a friends mac to get his songs- now when i plug it back into my computer it says it is linked to another itunes library and asks if i want to link it back to this one and replace all of the music. I do not want to loose all of the music but want it reconnected to my itunes with the music on my computer and taking the music on the ipod (from my friends itunes) into my itunes. What do i do? I apologize if this is something posted before,i couldn't find an answer. Please help!! thanks

    That above article will not resolve the issue. It explaines it clearly in the article.
    "Using an iPod formatted for Macintosh on a Windows computer is not supported. Using an iPod formatted for Windows on a Macintosh computer is not supported."
    this means that it won't work with out a 3rd party tool. You HAVE to restore it if you take it between different OS. That document works only if your taking it between windows machines or all mac machines.

  • I need help. Earphone won't work on stereo

    I have late 2012 macbook pro, upgraded to mavericks, and when i plug my earphone it won't work on stereo. the left earphone doesn't produce sound. I thought it was my earphone but apparently my earphone is fine when i plug it into my phone. Fortunately the internal speaker still works on stereo. Has anyone ever experienced this ? I can't work if there's no music.. please help!

    Go to Applications > Utilities > Audio MIDI setup and see what the settings look like for built in output. Maybe the left channel is muted.
    I'd try another pair of earphones too. Maybe it's the earphone jack on the computer.

  • 32 Bit Java Just Won't Work

    I need to install both 32 bit and 64 bit java on my computer to run a variety of different applications. 64 bit installed perfectly, but 32 bit just won't. I get the message:
    ERROR: Could not create java virtual machine.
    ERROR: A fatal exception occurred. The program will exit.
    What do I do to fix it?

    I'm having the same problem. I'm on a 1st Gen (June 2006) MacBook. I'm completely up to date on Software Update, but I can't get Java applets to display in any browser. I've checked Java Preferences, and I know that Java is installed on my computer. What gives?

Maybe you are looking for

  • My N95 review

    It’s almost a year now that I was waiting for this magnificent piece of technology, I mean 5 megapixel camera, 3.5G, WLAN, S60…what could you ask for more? Surely the N93 turned heads with its twisting and turning but this baby did more than that. So

  • How to use Variable in interface for Mapping in ODI 11g

    Hi, I want to use Variable 'Year' in interface mapping. how i can do that? I define a variable YEAR1 = '2001' and in interface i put #YEAR1 but it didn't work for me. is there any other way? Example. I m using 'Year' column in mapping and it is havin

  • Importing spreadhseets from input forms for bulk uploads

    Hi, I believe you can export the results of a report / page to an excel spreadsheet, but can you import a spreadhseet for bulk upload from an input form ? The reason I am asking is we don't want to allow the users of the input form "developer" rights

  • Using dsconfigad in ARD

    I would like to use 'Send UNIX command...' to change the Preferred Domain controller on all my Macs. I beleave I can do this with the dsconfigad without having to un-bind and re-bind from AD (but I'm not sure). Any ideas if it can be done, and if it

  • I have photo's in a folder but elements doesn't see them.

    I have tried to import the folder's files but no luck, still doesn't see them.  I have tried to; Show hidden files, Reconnect, All Missing files, Untagged Items, all with no luck.  Any Ideas