Results 1 to 7 of 7

Thread: PHP problem

  1. #1
    FancyPants
    Guest
    Exclamation PHP problem
    Hello,

    It took me a while to figure out what was going on, but I finaly did. PHP is reporting NO errors. Syntax. Anything coming across stderr (including messages sent with die()). Nothing. I am using the latest php package from entropy.ch (I love that site). I've never had a problem like this before, but there you go.

    If anyone has any ideas on what I can do, where there are error logs ( I can't find them for the life of me), if there is some option I need to turn on, or whatever, please let me know.

    Peace,
    Thomas

  2. #2
    FancyPants
    Guest
    Okay, I'm a dummy. I figured it out. It helps if display_errors is turned on in the php.ini file....

    Anyway, I'm going to go and put my head in the ground for a while.

    Peace

  3. #3
    dziner
    Guest
    Question php.ini
    Where did you find the php.ini file? I've downloaded and installed the latest version of PHP on my G5 running Panther and I'm in the process of working through "PHP and MySQL for Dynamic Web Sites - by Larry Ullman" and I've run into a few problems already. I'm only on chapter 2 so I'm pretty lost. My php form handler isn;t displaying the content of the form. I posted to Larry's site and he said to edit some things in the php.ini file. I did a search and couldn't find it. I also went to System/Library/PHP/ and there is nothing there. So confused.

  4. #4

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    Go to your terminal and type "locate php.ini", hopefully that will show you where it is.

    if that doesnt do it, then try looking in:

    /usr/lib/
    /usr/local/lib
    /usr/local/php/lib

    It should be in one of those

  5. #5
    FancyPants
    Guest
    Quote Originally Posted by Murlyn
    Go to your terminal and type "locate php.ini", hopefully that will show you where it is.

    if that doesnt do it, then try looking in:

    /usr/lib/
    /usr/local/lib
    /usr/local/php/lib

    It should be in one of those
    You could also make a php file that contains only:

    Code:
    <?php
    
    phpinfo();
    
    ?>
    and go to that file in a browser (make sure the file is in the content dir for apache). It will tell you the location of the php.ini file.

    Peace,
    Me

  6. #6

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    *rofl* oh yeah.. that's the easiest way *grin* No idea why that slipped my mind *rofl*

  7. #7
    dziner
    Guest
    It crossed my mind to read over that page and see if it said anything there. I have that page in my "sites" folder so I'll check it out when I get home tonight.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP with OS X
    By Yodda_Hunter in forum OS X - Apps and Games
    Replies: 4
    Last Post: 12-30-2013, 11:39 AM
  2. PHP Upload Problem
    By d2lil in forum Web Design and Hosting
    Replies: 6
    Last Post: 03-31-2010, 05:43 PM
  3. Real Player .php problem.
    By G3XOI in forum Switcher Hangout
    Replies: 0
    Last Post: 01-05-2009, 12:11 AM
  4. Default PHP & Apache problem
    By MBPro in forum Switcher Hangout
    Replies: 2
    Last Post: 09-04-2007, 04:22 AM
  5. Setting up PHP and PHP Nuke
    By EvoMac in forum Web Design and Hosting
    Replies: 2
    Last Post: 02-18-2005, 01:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •