Jump to content

ohdang888

Members
  • Posts

    1,285
  • Joined

  • Last visited

    Never

Posts posted by ohdang888

  1. Solved it.

     

    For anyone having this issue:

    Go into your WHM (Web Host Manager) then go to Software - EasyApache (Apache Update) - It may take a minute or so to load depending on your server and computer speed, once loaded click on start customizing based on profile down at the bottom then click Next Step until you are at Short Options List once there click Exhaustive Options List at the bottom of that page, then on the new page you are on you will find Apache options and settings for each PHP version you have. Check to see if "CurlSSL, and "Curl" checked. then save and build it

     

  2. It was this:

     

    ;extension=php_bz2.dll
    ;extension=php_cpdf.dll
    ;extension=php_crack.dll
    extension=php_curl.dll
    ;extension=php_db.dll
    

     

    and it changed it to

    ;extension=php_bz2.dll
    ;extension=php_cpdf.dll
    ;extension=php_crack.dll
    extension=php_curl.so
    ;extension=php_db.dll
    

    re-built and restarted apache, its still comes up with an error of:

    [18-Mar-2011 23:10:16] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_curl.so: cannot open shared object file: No such file or directory in Unknown on line 0

  3. When i check my errorlogs, i'm getting this:

     

    [18-Mar-2011 04:38:29] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

     

     

     

    any ideas how to fix this?

     

    Thanks

  4. Have you added the curl entry to php.ini?

     

    I thought i only needed to do that in Windows (by removing that ";" in front of the extension). Either way, i removed the semi-colon and reboot the server... nothing.

     

     

     

    Using this:

    yum install php-curl

     

    Says this:

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * addons: mirrors.manchester.icecolo.com
    * base: anorien.csc.warwick.ac.uk
    * extras: anorien.csc.warwick.ac.uk
    * updates: mirrors.manchester.icecolo.com
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    [b]No package php-curl available.[/b]
    Nothing to do
    

     

    Same goes for php5-curl

     

  5. I have a CentoOS Linux operating system with cPanel and WHM

     

    anyways, works great except curl... Fatal error: Call to undefined function curl_init() in my php scripts

     

    i have run this

    yum install curl
    

     

    works fine..  and did a graceful restart of the entire server. Getting the same error, as though its not enabled. Ran:

    which curl
    

    Outputs: /usr/bin/curl

     

    So, it's clearly installed, but why isn't it working?

    Also, i run a page with phpinfo(), and CTRL+F "curl" and it comes up with nothing. As though it doesn't event recognize it.

     

    Btw,  running "yum install curl" says:

    Setting up Install Process

    Package curl-7.15.5-9.el5.x86_64 already installed and latest version

    Package curl-7.15.5-9.el5.i386 already installed and latest version

     

    Ideas?

    Thanks

     

     

  6. Very nice site, very clean.  I agree with odang888 on the blog I feel like i went to a different companies page.  One thing that kinda of distracted me was when the video is playing the rotating header images in the background got a big percentage of my attention.  maybe try and have the video load on a blank background then on close go to your main page or something.  That's all I have other than that I would use your service based on your presentation.

     

    Appreciate it, ya i think the landing page might be a good idea

  7. Things I don't like:

    • Video on homepage that autoplays. Users should have the option to start the video instead of it annoying them to death ;) (I see this is only done on the first page load, but still..)
    • I feel that the pricing page could use some work & add some colors or icons.
    • I'm not a fan of the blog being that much of a different style than the site. Maybe that's just me ;)

     

    Thanks! I appreciate you taking the time to give me your input and will take it into account later.

  8. vps247.com

     

    look it up, they've been really responsive to my support questions too. Just bought a $13 package that include a linux VPS with 256 MB RAM, 8 GB storage and 250GB transfer with a dedicated IP. and cPanel. and php,mysql, all the goodies installed

     

    Relatively cheap. We'll see how it goes over the next few days

  9. May I assume the script that is updating that would be run on a external (non paypal) redirect script or something after the payment was successful?

     

    this is done at check out though paypal's IPN, they'll notify you at a dedicated page to let you know a purchase has occured, how much, by who, etc.

    https://www.paypal.com/ipn

     

     

    Though people will tell you its relatively simple process, you need to have a strong php/mysql experience to really get it going.

  10. I'm using vps247.com to try out hosting my website on a VPS on a cloud.

     

    Anyways, they said "We don't provide a domain name or DNS hosting with the package, however there are no problems with you running a DNS server on your VPS." Well, seeing as though i'm not the greatest server administrator to begin with, i don't want to make my own DNS.

     

    Here's what i'm wondering: I already bought a domain name from godaddy, how would i point that to my site? I mean, usually you edit the nameservers, but if my host doesn't provide DNS, can i just put my website IP address (its unique) in the nameserver field at godaddy and it will work them same?

     

    What do i need to do here?

     

    Thanks,

    --

    Tommy Crush

  11. It sounds like the web server isn't a member of the group that has rights to write to the file.  Try

     

    chgrp -R apache test
    chmod -R 0775 test

     

    Thanks!

     

    Unforunately, it says "apache" is not a group. i used "less /etc/group" to list all groups, and i have the list, but for security sake i feel like it wouldn't be smart to post that..

     

    Anyways, i ran "ps aux | grep httpd" and "ps aux | grep apache" to see which users run PHP scripts, and i found root, and www-data, and "nobody"

     

    so i added both of those to a group (confirmed it too), and did

    chgrp -R mygroup /var/www/vhosts/domain/httpdocs/test

    chmod -R 0775 /var/www/vhosts/domain/httpdocs/test

     

    And it changed it (confirmed it). Unforunately, I went to the site in the browser, and its coming up with 403 forbidden. I've change it back to the group being "root" (what it was before the change), and now its STILL not working. Still getting a 403 error. GAH

     

    Any thoughts are GREATLY appreciated. Thanks

  12. i have a little question regarding with ur codes :)

     

    user_table = table name

     

    and last_login = the field name where the time will save...

     

    how about on the database i have..

     

    should my log.in field looks like this

     

    Field name = login

    types = datetime

    Null = no

    Default = none

     

    yup that's all right

  13. I have a simply script like this:

    $fh = fopen("test/test.js", 'w+') or die("can't open file");
    fwrite($fh, $output);
    fclose($fh);
    

     

    It ONLY works if the "test" directory has a 777 permissions. Works like a charm then, but the moment it goes to even 775, I get this:

     

    Warning: fopen(test/test.js) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/mydomain.com/httpdocs/f.php on line 42

     

     

    Any thoughts? I don't want this folder to remain 777

     

    Thanks

     

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.