Allyans3 / protobuf-steam-auth

Protobuf Steam Auth package
MIT License
21 stars 3 forks source link

Step 3 not enough tutorial #6

Closed umpak closed 11 months ago

umpak commented 11 months ago

@Allyans3 helpppppppppp, I cant install the command

phpize
./configure
make
make install

its not working for me

Do I make a file protobuf.so? and put a code inside it

cd protobuf-ext/php8

phpize
./configure
make
make install

@Allyans3 help me pleaseeee 😩

Allyans3 commented 11 months ago

Do I make a file protobuf.so?

You need to generate protobuf.so php extension file using this commands:

phpize
./configure
make
make install
Allyans3 commented 11 months ago

If you are using Windows, this video may help you https://www.youtube.com/watch?v=wVnfw5exxGI&ab_channel=Dave

umpak commented 11 months ago

I got this error right now The php-devel package is required for use of this command.

[u129136188@sg-nme-web624 php8]$
[u129136188@sg-nme-web624 php8]$ phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
[u129136188@sg-nme-web624 php8]$ ./configure
-bash: ./configure: No such file or directory
[u129136188@sg-nme-web624 php8]$ make
-bash: make: command not found
[u129136188@sg-nme-web624 php8]$ make install
-bash: make: command not found
[u129136188@sg-nme-web624 php8]$
umpak commented 11 months ago

this is a mess up for me, php-devel is required to buy a VPS hosting plan in Hostinger to install and use php-devel

umpak commented 11 months ago

what is the best hosting for website, please help me @Allyans3

umpak commented 11 months ago

is there a way to get Steam cookies using another library that no need extensions? like protobuf.so my hosting can't give it to me, they said need a VPS 😔😔 my PHP website has been almost 1 week of maintenance already, I cant get my country Steam market price, because i cant get the steamCurrencyID and I cant send automatic trade offer, i don't know what to do

Allyans3 commented 11 months ago
  1. Have you tried googling PHP related errors? Can you try first answer https://stackoverflow.com/questions/20827704/phpize-cant-find-php-headers-in-usr-include-php ?
  2. What version of php are you using?
  3. Try another VPS hosting, not Hostinger.
umpak commented 11 months ago
  1. this the result in number 1

    [u129136188@sg-nme-web624 ~]$ phpize
    Can't find PHP headers in /usr/include/php
    The php-devel package is required for use of this command.
    [u129136188@sg-nme-web624 ~]$ yum install php-devel
    -bash: yum: command not found
    [u129136188@sg-nme-web624 ~]$ yum install php-pear
    -bash: yum: command not found
    [u129136188@sg-nme-web624 ~]$ pecl install Xdebug
    -bash: pecl: command not found
    [u129136188@sg-nme-web624 ~]$
  2. PHP 8.1.18

  3. Im not using VPS, hostinger said i need to buy their VPS plan, VPS hosting is required? not web hosting? or maybe there is another php library to get Steam cookie?

Allyans3 commented 11 months ago

Yes, you need VPS/VDS. I don't know another php library.

umpak commented 11 months ago

Thank you so much, I will let you know I will order a VPS next week, I will update you soon, you are great and you help me very much @Allyans3