The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php Extensions and Applications Package enable? can't..

Discussion in 'General Discussion' started by Empyrium, Aug 16, 2007.

  1. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Code:
    Configuring php-pear magic....Configuring for:
    PHP Api Version:         20041225
    Zend Module Api No:      20060613
    Zend Extension Api No:   220060519
    Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF 
    environment variable is set correctly and then rerun this script. 
    
    `install' is up to date.
    The homeloader.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    Reprovisioned httpd.conf (source): 1 (target): 1 
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding disabled
    Adding enabled s8c2a3t
    Adding disabled
    Adding enabled ozgem
    Adding disabled
    Adding enabled fragilis
    Adding disabled
    Adding enabled fragilis
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding disabled
    Adding enabled siscomtr
    Adding disabled
    Adding enabled ayashost
    Adding disabled
    Adding enabled aydemir
    Adding disabled
    Adding enabled sheker
    Adding disabled
    Adding enabled tadilat
    Adding disabled
    Adding enabled ayas
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding disabled
    Adding enabled hemsin
    Adding disabled
    Adding enabled forumto
    Adding disabled
    Adding enabled ozgun
    Adding disabled
    Adding enabled kvruud
    Adding disabled
    Adding enabled ortambiz
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding open_basedir "/nonexistent:/usr/lib/php:/usr/local/lib/php:/tmp"
    Adding disabled
    Adding enabled kizil
    Adding disabled
    Adding enabled senoben
    Adding disabled
    Adding enabled turkce
    Adding disabled
    Adding enabled alimoglu
    Adding disabled
    Adding enabled sercan
    Adding disabled
    Adding enabled serdar
    Adding disabled
    Adding enabled cengel51
    Adding disabled
    Adding enabled essunne
    Adding disabled
    Adding enabled gurkantr
    Adding disabled
    Adding enabled sivas58
    Adding disabled
    Adding enabled ozgem
    Adding disabled
    Adding enabled lep
    Adding disabled
    Adding enabled ll9
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled ecliler
    Adding disabled
    Adding enabled s8c2a3t
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled kurulumu
    Adding disabled
    Adding enabled albumiu
    Adding disabled
    Adding enabled heryermp
    Adding disabled
    Adding enabled tazkalpm
    Adding disabled
    Adding enabled www5rr
    Adding disabled
    Adding enabled sevgi
    Adding disabled
    Adding enabled illegal
    Adding disabled
    Adding enabled feanor
    Adding disabled
    Adding enabled gokchan
    Adding disabled
    Adding enabled pervin1
    Adding disabled
    Adding enabled bilgi
    Adding disabled
    Adding enabled smhdg
    Adding disabled
    Adding enabled wwwayha
    Adding disabled
    Adding enabled kayhan
    Adding disabled
    Adding enabled admintaz
    Adding disabled
    Adding enabled admfakir
    Adding disabled
    Adding enabled newroz1
    Adding disabled
    Adding enabled s53
    Adding disabled
    Adding enabled tatilzam
    Adding disabled
    Adding enabled tammp3
    Adding disabled
    Adding enabled cash
    Adding disabled
    Adding enabled gurkan
    Adding disabled
    Adding enabled wwwwebd
    Adding disabled
    Adding enabled musty
    Adding disabled
    Adding enabled dent
    Adding disabled
    Adding enabled turgayx
    Adding disabled
    Adding enabled sa1907
    Adding disabled
    Adding enabled guneylik
    Adding disabled
    Adding enabled msnde
    Adding disabled
    Adding enabled krswood
    Adding disabled
    Adding enabled kereste
    Adding disabled
    Adding enabled heryerkl
    Adding disabled
    Adding enabled ayvalik
    Adding disabled
    Adding enabled ultruud
    Adding disabled
    Adding enabled deniss
    Adding disabled
    Adding enabled deniz170
    Adding disabled
    Adding enabled rize53
    Adding disabled
    Adding enabled sefikibo
    httpd.conf tests passed, installed new configuration
    On
    
    Can't enable.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Version of cPanel and OS please.
     
  3. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    WHM 11.2.0 cPanel 11.10.0-S16448
    FREEBSD 6.1-RELEASE-p14 i386 - WHM X v3.1.0


    By the way , some apache logs here =>
    You can see my phpinfo here=> www.aaltunoz.com
    And , from whm if i restart apache yes it's working.
    From ssh gives segmentation fault error , but working too.
    What is wrong i couldn't understand :)
    Google'd lots of :P

    empy# /etc/init.d/httpd restart
    Segmentation fault (core dumped)
    /etc/init.d/httpd restart: configuration broken, ignoring restart
    /etc/init.d/httpd restart: (run 'apachectl configtest' for details)

    empy# /etc/init.d/httpd apachectl configtest

    Syntax OK
    Segmentation fault (core dumped)




    Code:
    ./configure [@libxml2-2.6.22]...(--prefix=/usr).... . . . . . . . . . . . . . . . . . Done
    
    make [@libxml2-2.6.22]...(-j 1).... Done
    
    1 error
    
    make [@libxml2-2.6.22]...(install).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    Fetching http://httpupdate.cpanel.net/buildapache/1/curl-7.15.3.tar.gz (0)....@209.85.80.214......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
    Untarring curl......Done
    Code:
    PHP version file has been updated to 5.2.3
    Adding cPanel default aliases ...disabled scgi-bin since suexec is installed
    Done
    Executing /scripts/postbuildapache (if exists)...Done
    Configuring perl magic....On
    Configuring php-pear magic....Configuring for:
    PHP Api Version:         20041225
    Zend Module Api No:      20060613
    Zend Extension Api No:   220060519
    Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF 
    environment variable is set correctly and then rerun this script. 
    
    `install' is up to date.
    The homeloader.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20020429
     
  4. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Ports are update during /scripts/upcp

    You can update them manually if you want, but might not give you any advantage/relief
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Let me discuss this with the developers. Looks like the extension_dir homeloader wants to use is wrong.
     
  7. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Ok , I'm just waiting.
     
  8. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The homeloader is installed, which you can verify with this command:

    Code:
    ulluco# find /usr -name 'homeloader*'
    
    You can fix this right now. First, find the proper location of extensions as specified in your php.ini:

    Code:
    ulluco# grep extension_dir /usr/lib/php.ini
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20020429"
    ; extension_dir directive above.
    
    Second, copy or move the homeloader.so file you found with the find command to the location sepcified by the grep command. DO this only if it is not in the proper physical location.

    Code:
    ulluco# cp /usr/lib/php/extensions/no-debug-non-zts-20060613/homeloader.so /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    
    Third, add an entry to your php.ini file:

    Code:
    ulluco# echo "extension=homeloader.so" >> /usr/local/lib/php.ini
    ulluco# grep homeloader /usr/local/lib/php.ini
    extension=homeloader.so
    ulluco# 
    
    Once that is done, restart Apache and the homeloader extension is now available.


    The output used in the examples was from one of my test systems and may not be indicative of what you will see on your system.
     
  9. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    I will do it right now , together i found something when listing packages on freebsd.

    Edit => it just found homeloader.c ?

    libxml2-2.6.29

    Howewer as the errors listed

    make [@libxml2-2.6.22]...(-j 1).... Done

    1 error

    Humm , do i need to delete the 2-2.6.29 thingy.
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I'll have to bring up a FreeBSD VM to check that. My main FreeBSD test server is running the EDGE build and has many differences when it comes to those packages. It's quite possible the wrong package is being specified.

    Give me a few minutes whiel I do some more testing on a non-EDGE VM.
     
  11. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    I did something wrong and now autoconf autoconf wrapper autotools autoheader ;s all dead.
    Tried to reinstall them , all gave me errors.
    I still have apache segmentation error, and my websites still working.
    Cpanel update gave me this error now =>

    Code:
    Installing system packages and perl modules...Unable to locate suitable binary for autoconf
    Unable to locate suitable binary for autoheader
    Searching ports for portupgrade .............................................................................found portupgrade in /usr/ports/ports-mgmt/portupgrade....Done
    What can i do for a fresh auto.... port installs?
    All of them errory , make install clean , clean etc. Which port do i need to install firstly :S
    And autoconf261 gave me /usr/local/info =< there is no info :s
    Config errors too now :> omg!
    Google'd but couldn't find a resolve.
    Newbie on freebsd :/
    My bro will kill me if he comes to home and see all these errors lol :D
     
  12. Empyrium

    Empyrium Member

    Joined:
    May 23, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Resolved all errors except apache segmentation fault. :eek:
     
Loading...

Share This Page