Results 1 to 2 of 2

Thread: IcePHP, test okey,but apply demo error?help me

  1. #1
    silva is offline Registered User
    Join Date
    Apr 2004
    Location
    China,shannxi
    Posts
    7

    Unhappy IcePHP, test okey,but apply demo error?help me

    My env:

    RedHat 9.0 (linux core:2.4.20-8)
    Ice-2.1.2(source)
    IcePHP-2.1.2
    Apache2.0.54
    PHP-5.0.4

    first ,I have finsh the compile process of third party and Ice source, completed the test.

    then,I compliled the php-5.0.4 with IcePHP, and install, test the info.php okey(php+apache okey),test the allTests.py okey(ice-php okey).

    my php configure command is in the list,
    HTML Code:
    ./configure --with-ice=shared,$ICE_HOME --with-libxml-dir=/usr/lib --with-apxs2=/usr/local/apache2/bin/apxs
    I hava copy the IcePHP/demo/Hello to my webroot directory,and modify my php.ini,because i have not use profile ,then i add the ice.slice directly.
    HTML Code:
    ice.slice=/home/webroot/Hello.ice
    extension_dir=/home/setupfiles/php-5.0.4/modules
    extension=ice.so
    when I use the firework to visite the http://127.0.0.1/hello.php, error occur,

    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Warning: Unknown: Failed opening '/home/webroot/hello.php' for inclusion (include_path='.:/usr/local/bin/php') in Unknown on line 0
    when I enter the /usr/local/bin, and excute the "php -c php.ini -f /home/webroot/hello.php",there a quote occured,
    Fatal error: Call to undefined function Ice_loadProfile() in /home/webroot/hello.php on line 20
    and I guess it may be a configure problem, and try some way, like,copy the icecpp to /usr/bin, like, copy the ice.so to anywhere ,hehe,but, have still the problem.

    could you help me!
    No man is born wise or learned!

  2. #2
    silva is offline Registered User
    Join Date
    Apr 2004
    Location
    China,shannxi
    Posts
    7

    Cool

    hehe, I have resolve the problem .

    the reason is the privalege of my webroot folder . use the "chmod 755 -R /home/webroot
    ", then okey!

    I am so naive!

    thank you!
    No man is born wise or learned!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. make test error! demo error!
    By zeronumber in forum Help Center
    Replies: 1
    Last Post: 12-16-2009, 04:36 AM
  2. make test error on pthread_condattr_setclock
    By AaronIct in forum Help Center
    Replies: 4
    Last Post: 05-04-2009, 02:20 AM
  3. Freeze test error
    By wwwtiger in forum Help Center
    Replies: 5
    Last Post: 11-09-2004, 09:15 PM
  4. Why Run test errorH
    By miaolin in forum Help Center
    Replies: 1
    Last Post: 11-05-2004, 07:13 AM
  5. Who can give me the readme of test and demo
    By jeylee in forum Help Center
    Replies: 0
    Last Post: 12-08-2003, 01:37 AM

Posting Permissions

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